package com.lenovo.vod.player.util;

import java.util.TimerTask;

import com.lenovo.vod.player.Constant;
import com.lenovo.vod.player.Engine;

import android.os.Message;

public class HideControllerTask extends TimerTask {
	private Engine mEngine;

	public HideControllerTask(Engine engine) {
		mEngine = engine;
	}

	@Override
	public void run() {
		Message msg = new Message();
		msg.what = Constant.MSG_HIDE_CONTROLLER;
		mEngine.getTimerTaskHandler().sendMessage(msg);
	}
}
